package com.itheima.pojo;

public class Route {
    private int rid;
    private String route_name;
    private double price;
    private String route_Introduce;
    private char flag;
    private char is_theme_tour;
    private int attention_count;
    private int category_id;
    private int seller_id;

    public Route() {
    }

    public Route(int rid, String route_name, double price, String route_Introduce, char flag, char is_theme_tour, int attention_count, int category_id, int seller_id) {
        this.rid = rid;
        this.route_name = route_name;
        this.price = price;
        this.route_Introduce = route_Introduce;
        this.flag = flag;
        this.is_theme_tour = is_theme_tour;
        this.attention_count = attention_count;
        this.category_id = category_id;
        this.seller_id = seller_id;
    }

    @Override
    public String toString() {
        return "Route{" +
                "rid=" + rid +
                ", route_name='" + route_name + '\'' +
                ", price=" + price +
                ", route_Introduce='" + route_Introduce + '\'' +
                ", flag=" + flag +
                ", is_theme_tour=" + is_theme_tour +
                ", attention_count=" + attention_count +
                ", category_id=" + category_id +
                ", seller_id=" + seller_id +
                '}';
    }

    public int getId() {
        return rid;
    }

    public void setId(int rid) {
        this.rid = rid;
    }

    public String getRoute_name() {
        return route_name;
    }

    public void setRoute_name(String route_name) {
        this.route_name = route_name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getRoute_Introduce() {
        return route_Introduce;
    }

    public void setRoute_Introduce(String route_Introduce) {
        this.route_Introduce = route_Introduce;
    }

    public char getFlag() {
        return flag;
    }

    public void setFlag(char flag) {
        this.flag = flag;
    }

    public char getIs_theme_tour() {
        return is_theme_tour;
    }

    public void setIs_theme_tour(char is_theme_tour) {
        this.is_theme_tour = is_theme_tour;
    }

    public int getAttention_count() {
        return attention_count;
    }

    public void setAttention_count(int attention_count) {
        this.attention_count = attention_count;
    }

    public int getCategory_id() {
        return category_id;
    }

    public void setCategory_id(int category_id) {
        this.category_id = category_id;
    }

    public int getSeller_id() {
        return seller_id;
    }

    public void setSeller_id(int seller_id) {
        this.seller_id = seller_id;
    }
}
